//
//  DicModel.m
//  marrymarry
//
//  Created by lsj on 16/10/8.
//  Copyright © 2016年 cf. All rights reserved.
//

#import "DicModel.h"

@implementation DicModel

-(NSDictionary*)backWithDic:(NSDictionary *)bossDic
{
    NSDictionary * myDic = [NSDictionary new];
    if (self.isGoToBaseInfor) {
         myDic = @{NICHEN_KEY:bossDic[NICHEN_KEY],WANT_MARRY_TIME_KEY:bossDic[WANT_MARRY_TIME_KEY],BIRTH_TIME_KEY:bossDic[BIRTH_TIME_KEY],MARRY_STATUS:bossDic[MARRY_STATUS],HAVE_CHILD_KEY:bossDic[HAVE_CHILD_KEY],LOVE_HISTORY_KEY:bossDic[LOVE_HISTORY_KEY],WORK_KEY:bossDic[WORK_KEY],XINZUO_KEY:bossDic[XINZUO_KEY],TALL_KEY:bossDic[TALL_KEY],WEIGHT_KEY:bossDic[WEIGHT_KEY],BLOODKIND_KEY:bossDic[BLOODKIND_KEY],WORK_PLACE_KEY:bossDic[WORK_PLACE_KEY],JIGUAN_KEY:bossDic[JIGUAN_KEY],HUJI_KEY:bossDic[HUJI_KEY],MIN_ZU_KEY:bossDic[MIN_ZU_KEY],XIN_YANG_KEY:bossDic[XIN_YANG_KEY],SMOKE_KEY:bossDic[SMOKE_KEY],DRUNK_KEY:bossDic[DRUNK_KEY],USERID:bossDic[USERID]};
        return myDic;
    }else if (self.isGoToDat)
    {
        myDic = @{FIRST_MEET_DO_KEY:bossDic[FIRST_MEET_DO_KEY],FIRST_MEET_WHOPAY_KEY:bossDic[FIRST_MEET_WHOPAY_KEY],FIRST_MEET_LIKEPLACE_KEY:bossDic[FIRST_MEET_LIKEPLACE_KEY],FIRST_MEET_ROMANCE_KEY:bossDic[FIRST_MEET_ROMANCE_KEY],FIRST_MEET_INTEREST_TALK_KEY:bossDic[FIRST_MEET_INTEREST_TALK_KEY],WILLING_TO_SPORT_KEY:bossDic[WILLING_TO_SPORT_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        
        return myDic;
    }else if (self.isGoToHYGuanNian)
    {
        return myDic;
    }else if (self.isGoToQMShiJiao)
    {
        myDic = @{THINK_YOUR_SEX_KEY:bossDic[THINK_YOUR_SEX_KEY],THINK_SEX_WHATWAY_KEY:bossDic[THINK_SEX_WHATWAY_KEY],THINK_SEX_EXP_KEY:bossDic[THINK_SEX_EXP_KEY],THINK_SEX_TAIDU_KEY:bossDic[THINK_SEX_TAIDU_KEY],THINK_SEX_NEW_ZISHI_KEY:bossDic[THINK_SEX_NEW_ZISHI_KEY],THINK_SEX_LOVE_KEY:bossDic[THINK_SEX_LOVE_KEY],FIND_OTHER_PEOPLE_MUST_BE_KEY:bossDic[FIND_OTHER_PEOPLE_MUST_BE_KEY],THINK_INTEREST_KEY:bossDic[THINK_INTEREST_KEY],THINK_CAN_PARTNER_KEY:bossDic[THINK_CAN_PARTNER_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }else if (self.isGoToZOu)
    {
        myDic = @{OTHER_WANT_MARRYTIME_KEY:bossDic[OTHER_WANT_MARRYTIME_KEY],WORK_PLACE_KEY:bossDic[WORK_PLACE_KEY],STUDY_KEY:bossDic[STUDY_KEY],OLD_KEY:bossDic[OLD_KEY],TALL_KEY:bossDic[TALL_KEY],LOOKLIKE_KEY:bossDic[LOOKLIKE_KEY],HUJI_KEY:bossDic[HUJI_KEY],EARN_MONEY_KEY:bossDic[EARN_MONEY_KEY],MARRY_STATUS:bossDic[MARRY_STATUS],AFTER_MARRY_KEY:bossDic[AFTER_MARRY_KEY],FIND_OTHER_PEOPLE_MUST_BE_KEY:bossDic[FIND_OTHER_PEOPLE_MUST_BE_KEY],OTHER_DRINK_KEY:bossDic[OTHER_DRINK_KEY],OTHER_SOMKE_KEY:bossDic[OTHER_SOMKE_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }else if (self.isGoToMyAdvantage)
    {
        myDic = @{MY_ADVANTAGE_KEY:bossDic[MY_ADVANTAGE_KEY],USERID:[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }
    else if (self.isGoToFriend)
    {
        myDic = @{FRIEND_LOOKME_KEY:bossDic[FRIEND_LOOKME_KEY],USERID:[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }
    else if (self.isGoToContancet)
    {
        myDic = @{CELLPHONE_KEY:bossDic[CELLPHONE_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }
    else if (self.isGoToWeChat)
    {
        myDic = @{WECHAT_KEY:bossDic[WECHAT_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }
    else if (self.isGoToQQ)
    {
        myDic = @{QQ_KEY:bossDic[QQ_KEY],@"userId":[Tools getValueFromNSUserDefaultsByKey:USERID]};
        return myDic;
    }
    else
    {
        return myDic;
    }
}


@end
